package com.learn.dubbo.provider;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class DubboProviderXmlBootstrap {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext();
        context.setConfigLocation("classpath:dubbo-provider.xml");
        context.refresh();
        System.out.println("Dubbo Provider (Xml) Is Starting...");
        System.in.read();
    }
}